fruits = {'apple', 'orange', 'pear', 'grape'}
counts = [3, 4, 5, 10]
for f, c in zip(fruits, counts):
    match f, c:
        case 'apple', 3:
            print('10个苹果')
        case 'orange', 4:
            print('4个橘子')
        case 'pear', 5:
            print('5个梨子')
        case 'grape', 10:
            print('10串葡萄')

# 集合的无序的，所以每次输出都是不一样的
